package com.yyz.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

//@Data
//@NoArgsConstructor
//@AllArgsConstructor
//@Accessors(chain = true)
public class Customer {
    private int cid;
    private String cname;
    private String description;
    private String address;

    private Set<LinkMan> linkMan=new HashSet<>();// 多对一


    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Set<LinkMan> getLinkMan() {
        return linkMan;
    }

    public void setLinkMan(Set<LinkMan> linkMan) {
        this.linkMan = linkMan;
    }
}
